import request from '@/utils/request'

// LOGIN
export const getValidCode = typeName => {
  return request({
    url: `key/loginValidCode/${typeName}`,
    method: 'GET'
  })
}

export const sendSmsCode = telNo => {
  return request({
    url: `key/sendSmsCode/${telNo}`,
    method: 'GET'
  })
}
